import { createRouter, createWebHistory } from 'vue-router'
import PlaywrightPage from './views/PlaywrightPage.vue'
import ApiKeyInput from './components/ApiKeyInput.vue'

const routes = [
  {
    path: '/',
    name: 'playwright',
    component: PlaywrightPage
  },
    {
    path: '/',
    name: 'apiKeyInput',
    component: ApiKeyInput
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router